package test3_13.Calculator;

public class Test1_calculatorUse {
    public static void main(String[] args) {

        Test1_calculator cal = new Test1_calculator();
        cal.plus(2,4);
        cal.minus(2,3);
        cal.multiply(2,3);
        cal.divide(2,3);
        cal.square(2); //平方
        cal.power(2,3); //幂
        cal.isPrime(7); //是否是素数
        int[] arr = {3,5,8,2,6};
        cal.sort(arr); //排序
    }
}
